/**
 * 
 */
package com.gr.staffpm.pages.schedule;

import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.panel.Panel;


/**
 * @author Graham Rhodes 30 Mar 2011 23:06:19
 */
public class DayTimeBackgroundPanel extends Panel {

    private static final long serialVersionUID = 1L;

    public DayTimeBackgroundPanel(final String id) {
        super(id);

        add(new WebMarkupContainer("bgTime") {

            private static final long serialVersionUID = 1L;

            @Override
            protected void onComponentTag(ComponentTag tag) {
                tag.getAttributes().put("class", "ext-cal-bg-row-div ext-row-" + id);
            }

        });
    }

}
